package src;

public class Demo06 {

    public static void main(String[] args) {
        int a = 23;
        int b = 45;
        a = a + b;
        b = a - b;  // a + b - b = a
        a = a - b;  // a + b - a = b
        System.out.println(a);
        System.out.println(b);
    }
}
